package com.sandrew.www.sequence;

public class FilePickRunnable implements Runnable
{

	public FilePickRunnable(FilePicker aPicker, String aFilePath)
	{
		this.picker = aPicker;
		this.filePath = aFilePath;
	}

	public void run()
	{
		try
		{
			picker.pick(filePath);
			picker.endPick();
		}
		catch (InterruptedException e)
		{
			e.printStackTrace();
		}
	}

	private FilePicker picker;

	private String filePath;
}
